package com.chenfubing.ps.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenfubing
 * @since 2020-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Space implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车位表
     */
    @TableId(value = "space_id")
    private Integer spaceId;

    /**
     * 车牌号
     */
    private String carLicense;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 车辆id
     */
    private String carId;

    /**
     * 车位状态1.占用，2.空闲
     */
    private String spaceState;

    /**
     * 社区id
     */
    private Integer communityId;

    /**
     * 是否存在1存在，0删除
     */
    private Integer exist;


}
